﻿using System;

namespace Borg
{
    public interface IScriptSession
    {
        event EventHandler<ScriptCompletedEventArgs> ScriptCompleted;

        void Close();

        void ExecuteAsync(string command);
        void ExecutePriorAsync(string command);
        void ExecuteSync(string command);

        object GetVariable(string variableName);
        void SetVariable(string variableName, object value);

        string InitScript { get; set; }
        IScriptResult Result { get; }
    }
}

